import { Constant } from "@/constant";
import { CustomBizDict } from "jmash-core";
import { EntryBizLayDict } from "jmash-dict";
import { AuthorizerAppidBizDict } from "xyvcard-wechat";
import { ProcBizDict } from "./index";

//数据字典
export class Dict {
  //业务 挂起/激活状态
  static readonly suspendBiz = new CustomBizDict(Constant.SUSPEND_VALUES, {});

  //业务 记录类型
  static readonly commentType = new CustomBizDict(
    Constant.COMMENT_TYPE_VALUES,
    {},
  );

  //优先级
  static readonly priorityDict = new CustomBizDict(
    Constant.PRIORITY_VALUES,
    {},
  );

  // 流程分类层级字典
  static readonly categoryCodeDict = new EntryBizLayDict({
    typeCode: "bpmnCategory",
  });

  // 流程字典
  static readonly procDict = new ProcBizDict({});
  // 微信公众号名称
  static readonly authorizerAppidBizDict = new AuthorizerAppidBizDict({});
}
